<template>
  <div id="app"></div>
</template>

<script>
// import { getList, increaseList } from "../api/fistApi";
// import qs from "qs";
// import axios from "./utils/uitis";
export default {
  methods: {},
  async mounted() {
    ///axios普通用法////
    // this.$axios.get('http://localhost:2345/classify/list')
    // this.$axios({
    //   url:'http://localhost:2345/classify/list',
    //   method:'get',
    // })
    // this.$axios.post('http://localhost:2345/classify/addList',qs.stringify({name:'liuxiao'}))
    // this.$axios({
    //   url:'http://localhost:2345/classify/addList',
    //   method:'post',
    //   data:qs.stringify({name:'xiao'})
    // })
    // .then(res=>console.log(res.data))
    ///封装方法以便于简便实用及复用////
    // let o  = await increaseList({name:'liuxiao'})
    // let r = await getList()
    // console.log(o)
    // console.log(r)
  },
  components: {},
};
</script>

<style scoped></style>
